#include "Entity.h"

namespace coolpool
{
	Entity::Entity(const Entity & entity)
	{
		collidable_ = entity.collidable_;
		frozen_ = entity.frozen_;
		invisible_ = entity.invisible_;
	}

	Entity::Entity()
	{
		init();
	}

	void Entity::init()
	{
		this->collidable_ = true;
		this->frozen_ = false;
		this->invisible_ = true;
	}

	Entity::~Entity()
	{
	}

	// Return default type.
	int Entity::getType() const
	{
		return 0;
	}

	bool Entity::isStatic() const
	{
		return true;
	}
}
